pp108 : Creating a KPI on a Business Process Model

Creating a KPI on a Business Process Model

This topic describes the procedure to quickly configure KPIs on a business process model and abstract the users from creating the associated artifacts (Business Measures).

Before you begin this task:

  • Create and design a business process model.
  • Ensure that Business Activity Monitor service container is started in your current organization.

In Process Platform, you can create and configure the Key Performance Indicators (KPI) on a Business Process Model, in any of the following ways:

  • You can create a KPI using Business Measure.
  • Alternatively, you can create a KPI directly on a Business process model as described below.
  1. In the Workspace Documents > <project>, right-click the required <business process model> and select Model Properties.
  2. Select KPI tab and click icon on the tool bar of the table to launch KPI Wizard.
  3. Specify the name, description, and the goal that describes the purpose and objective of the KPI in the Name, Description, and Goal fields, respectively.
  4. In the Define Objectives section, do the following:
    1. Select the unit of measure from Unit of Measure drop-down list.
    2. Enter a target value in the text box next to Target Value.
    3. Click to add the range limits. For each range limit, specify a name, and enter the lower and upper limits in their respective columns as required, and click Next.
  5. In the Build Metric section, build the metric by choosing the aggregate function on an attribute that was defined using a Message filter. Based on the parameters selected and filters applied, the KPI Wizard will automatically generate the business measure. Do the following:
    1. In the Define Aggregation section,
      1. Select Aggregation type. You can select the Aggregation type from the list of aggregate functions which include Sum, Count, Average, Min, Max.
      2. Select the required attribute from Attribute drop-down list. These attributes include the standard attributes as well as the Message Filter elements defined in the business process model.
      3. Type an Alias name for the selected attribute in the Alias field.
    2. In the Define Filters section create a filter that is based on the parameters configured in the Aggregate definition above. You can define multiple filters.
      1. Click to add a filter.
      2. Select the required Attributes.
      3. Select operators which include '=', '<>', '>', '<', '>=',and '<='.
      4. Provide values for the attributes and click Next.
    3. In the Configure Time frame section, do the following:
      1. Select date-time attribute from drop-down list box.
      2. Select Time-frame window type from the drop-down list box which includes Static and Rolling.
      3. Select From date and To date.
  6. In the Expression section, do the following: Build the necessary expression. Refer to building expression from the procedure to build expressions. If the KPI should be triggered on a periodical basis to build trend analysis, select the Define Schedule check box and click Next.
  7. To configure the frequency of interval at which the KPI should be invoked, do the following in the Schedule section:
    1. Select the Auto Deploy check box to automatically deploy the schedule to run-time when the KPI is published.
    2. Select the frequency from Schedule Type drop-down list and configure the duration.
    3. Select the Target Document Type drop-down list and do the following:
      1. Choose the required Target for Business Process Model and Web service document types.
      2. Provide the text for Request XML for Custom XML document type.
    4. Select Define Actions check box (Additionally, you can also select Model Email that can be triggered as an action check box if you want to model an e-mail template and send e-mail as part of the action) and click Next to define the Actions.
  8. Select Email Model to configure an E-mail model on the KPI.
  9. Select Conditions and Actions and configure the required conditions and actions. When on scheduled interval, if the specified conditions are met, the appropriate actions (Triggering Business process, Web Service or sending Notifications) will be triggered.

    Note:
    After you complete this task: You can publish the KPI to the organization.

You have successfully created KPI on a Business Process Model.

The KPIs created are displayed in the explorer view, as a child node of the process or the Activity on which the KPI is created. However, if a KPI is created on constructs such as Send Message, Receive Message, Start, End, Timeout and so on, which are not shown in the explorer view, then the KPIs created on these constructs are not displayed in the explorer view too.
Therefore, if you have to use these KPIs, select the Insert > Composite Control and other option on the User Interface toolbar and select the relevant KPI.